package cn.stylefeng.guns.sys.modular.system.entity;

import java.math.BigDecimal;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuy
 * @since 2021-08-30
 */
@Data
@TableName("bty_elm")
public class BtyElm implements Serializable {

    private static final long serialVersionUID=1L;
    /**
     *  //入账id
     *                     String rzid=row.getCell(0) == null ? "" : row.getCell(0).getStringCellValue();
     *                     //门店id
     *                     String mdid = row.getCell(1) == null ? "" : row.getCell(1).getStringCellValue();
     *                     //店名
     *                     String dm = row.getCell(2) == null ? "" : row.getCell(2).getStringCellValue();
     *                     //账单日期
     *                     String zdrq = row.getCell(3) == null ? "" : row.getCell(3).getStringCellValue();
     *                     //结算金额
     *                     Double jsje = row.getCell(4) == null ? 0 : row.getCell(4).getNumericCellValue();
     *                     //结算日期
     *                     String jsrq=row.getCell(5) == null ? "" : row.getCell(5).getStringCellValue();
     *                     //账单类型
     *                     String zdlx=row.getCell(6) == null ? "" : row.getCell(6).getStringCellValue();
     */
    /**
     * 门店id
     */
    @ExcelProperty(index=1)
    @TableField("mdid")
    private String mdid;

    /**
     * 店名
     */
    @ExcelProperty(index=2)
    @TableField("dm")
    private String dm;

    /**
     * 结算金额
     */
    @ExcelProperty(index=4)
    @TableField("jsje")
    private BigDecimal jsje;

    /**
     * 账单日期
     */
    @ExcelProperty(index=3)
    @TableField("zdrq")
    private String zdrq;

    /**
     * 结算日期
     */
    @ExcelProperty(index=5)
    @TableField("jsrq")
    private String jsrq;

    /**
     * 账单类型
     */
    @ExcelProperty(index=6)
    @TableField("zdlx")
    private String zdlx;

      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 入账id
     */
    @ExcelProperty(index = 0)
    @TableField("rzid")
    private String rzid;

    /**
     * 年月
     */
    @TableField("month")
   private String month;
    /**
     * 失败0 成功1
     */
    @TableField("flag")
    private Integer flag;
}
